package com.yun.zf.common.admin.dto;
import com.yun.zf.common.admin.domain.SysAgent;
import com.yun.zf.common.admin.domain.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Set;

@ApiModel(value = "UserInfoDTO", description = "用户信息DTO")
@Data
public class UserInfoDTO {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "用户经纪人信息")
    private SysAgent user;

    @ApiModelProperty(value = "角色集合")
    private Set<String> roles;

    @ApiModelProperty(value = "权限集合")
    private Set<String> permissions;
    @ApiModelProperty(value = "是否展示城市切换")
    private Boolean isShowCity;
}